<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Print - EEZ Studio</title>
        <link
            id="main-css"
            rel="stylesheet"
            type="text/css"
            href="../eez-studio-ui/_stylesheets/main.css"
        />
    </head>
    <body style="-webkit-print-color-adjust: exact">
        <script>
            const ipcRenderer = require("electron").ipcRenderer;

            ipcRenderer.on("printPDF", (event, content) => {
                document.body.innerHTML = content;
                setTimeout(() => ipcRenderer.send("readyToPrintPDF"), 300);
            });
        </script>
    </body>
</html>
